app2(app2(map, f), nil) -> nil
app2(app2(map, f), app2(app2(cons, x), xs)) -> app2(app2(cons, app2(f, x)), app2(app2(map, f), xs))
app2(app2(append, xs), nil) -> xs
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(zip, nil), yss) -> yss
app2(app2(zip, xss), nil) -> xss
app2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> app2(app2(cons, app2(app2(append, xs), ys)), app2(app2(zip, xss), yss))
app2(app2(combine, xs), nil) -> xs
app2(app2(combine, xs), app2(app2(cons, ys), yss)) -> app2(app2(combine, app2(app2(zip, xs), ys)), yss)
app2(levels, app2(app2(node, x), xs)) -> app2(app2(cons, app2(app2(cons, x), nil)), app2(app2(combine, nil), app2(app2(map, levels), xs)))
↳ QTRS
↳ DependencyPairsProof
app2(app2(map, f), nil) -> nil
app2(app2(map, f), app2(app2(cons, x), xs)) -> app2(app2(cons, app2(f, x)), app2(app2(map, f), xs))
app2(app2(append, xs), nil) -> xs
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(zip, nil), yss) -> yss
app2(app2(zip, xss), nil) -> xss
app2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> app2(app2(cons, app2(app2(append, xs), ys)), app2(app2(zip, xss), yss))
app2(app2(combine, xs), nil) -> xs
app2(app2(combine, xs), app2(app2(cons, ys), yss)) -> app2(app2(combine, app2(app2(zip, xs), ys)), yss)
app2(levels, app2(app2(node, x), xs)) -> app2(app2(cons, app2(app2(cons, x), nil)), app2(app2(combine, nil), app2(app2(map, levels), xs)))
APP2(levels, app2(app2(node, x), xs)) -> APP2(combine, nil)
APP2(app2(map, f), app2(app2(cons, x), xs)) -> APP2(app2(cons, app2(f, x)), app2(app2(map, f), xs))
APP2(levels, app2(app2(node, x), xs)) -> APP2(map, levels)
APP2(levels, app2(app2(node, x), xs)) -> APP2(app2(cons, x), nil)
APP2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> APP2(app2(cons, app2(app2(append, xs), ys)), app2(app2(zip, xss), yss))
APP2(levels, app2(app2(node, x), xs)) -> APP2(cons, x)
APP2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> APP2(app2(append, xs), ys)
APP2(app2(combine, xs), app2(app2(cons, ys), yss)) -> APP2(app2(zip, xs), ys)
APP2(app2(map, f), app2(app2(cons, x), xs)) -> APP2(f, x)
APP2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> APP2(zip, xss)
APP2(app2(combine, xs), app2(app2(cons, ys), yss)) -> APP2(zip, xs)
APP2(levels, app2(app2(node, x), xs)) -> APP2(app2(cons, app2(app2(cons, x), nil)), app2(app2(combine, nil), app2(app2(map, levels), xs)))
APP2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> APP2(append, xs)
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(append, xs)
APP2(levels, app2(app2(node, x), xs)) -> APP2(cons, app2(app2(cons, x), nil))
APP2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> APP2(cons, app2(app2(append, xs), ys))
APP2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> APP2(app2(zip, xss), yss)
APP2(app2(map, f), app2(app2(cons, x), xs)) -> APP2(app2(map, f), xs)
APP2(app2(combine, xs), app2(app2(cons, ys), yss)) -> APP2(app2(combine, app2(app2(zip, xs), ys)), yss)
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(app2(append, xs), ys)
APP2(app2(combine, xs), app2(app2(cons, ys), yss)) -> APP2(combine, app2(app2(zip, xs), ys))
APP2(levels, app2(app2(node, x), xs)) -> APP2(app2(combine, nil), app2(app2(map, levels), xs))
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(app2(cons, x), app2(app2(append, xs), ys))
APP2(levels, app2(app2(node, x), xs)) -> APP2(app2(map, levels), xs)
APP2(app2(map, f), app2(app2(cons, x), xs)) -> APP2(cons, app2(f, x))
app2(app2(map, f), nil) -> nil
app2(app2(map, f), app2(app2(cons, x), xs)) -> app2(app2(cons, app2(f, x)), app2(app2(map, f), xs))
app2(app2(append, xs), nil) -> xs
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(zip, nil), yss) -> yss
app2(app2(zip, xss), nil) -> xss
app2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> app2(app2(cons, app2(app2(append, xs), ys)), app2(app2(zip, xss), yss))
app2(app2(combine, xs), nil) -> xs
app2(app2(combine, xs), app2(app2(cons, ys), yss)) -> app2(app2(combine, app2(app2(zip, xs), ys)), yss)
app2(levels, app2(app2(node, x), xs)) -> app2(app2(cons, app2(app2(cons, x), nil)), app2(app2(combine, nil), app2(app2(map, levels), xs)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
APP2(levels, app2(app2(node, x), xs)) -> APP2(combine, nil)
APP2(app2(map, f), app2(app2(cons, x), xs)) -> APP2(app2(cons, app2(f, x)), app2(app2(map, f), xs))
APP2(levels, app2(app2(node, x), xs)) -> APP2(map, levels)
APP2(levels, app2(app2(node, x), xs)) -> APP2(app2(cons, x), nil)
APP2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> APP2(app2(cons, app2(app2(append, xs), ys)), app2(app2(zip, xss), yss))
APP2(levels, app2(app2(node, x), xs)) -> APP2(cons, x)
APP2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> APP2(app2(append, xs), ys)
APP2(app2(combine, xs), app2(app2(cons, ys), yss)) -> APP2(app2(zip, xs), ys)
APP2(app2(map, f), app2(app2(cons, x), xs)) -> APP2(f, x)
APP2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> APP2(zip, xss)
APP2(app2(combine, xs), app2(app2(cons, ys), yss)) -> APP2(zip, xs)
APP2(levels, app2(app2(node, x), xs)) -> APP2(app2(cons, app2(app2(cons, x), nil)), app2(app2(combine, nil), app2(app2(map, levels), xs)))
APP2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> APP2(append, xs)
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(append, xs)
APP2(levels, app2(app2(node, x), xs)) -> APP2(cons, app2(app2(cons, x), nil))
APP2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> APP2(cons, app2(app2(append, xs), ys))
APP2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> APP2(app2(zip, xss), yss)
APP2(app2(map, f), app2(app2(cons, x), xs)) -> APP2(app2(map, f), xs)
APP2(app2(combine, xs), app2(app2(cons, ys), yss)) -> APP2(app2(combine, app2(app2(zip, xs), ys)), yss)
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(app2(append, xs), ys)
APP2(app2(combine, xs), app2(app2(cons, ys), yss)) -> APP2(combine, app2(app2(zip, xs), ys))
APP2(levels, app2(app2(node, x), xs)) -> APP2(app2(combine, nil), app2(app2(map, levels), xs))
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(app2(cons, x), app2(app2(append, xs), ys))
APP2(levels, app2(app2(node, x), xs)) -> APP2(app2(map, levels), xs)
APP2(app2(map, f), app2(app2(cons, x), xs)) -> APP2(cons, app2(f, x))
app2(app2(map, f), nil) -> nil
app2(app2(map, f), app2(app2(cons, x), xs)) -> app2(app2(cons, app2(f, x)), app2(app2(map, f), xs))
app2(app2(append, xs), nil) -> xs
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(zip, nil), yss) -> yss
app2(app2(zip, xss), nil) -> xss
app2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> app2(app2(cons, app2(app2(append, xs), ys)), app2(app2(zip, xss), yss))
app2(app2(combine, xs), nil) -> xs
app2(app2(combine, xs), app2(app2(cons, ys), yss)) -> app2(app2(combine, app2(app2(zip, xs), ys)), yss)
app2(levels, app2(app2(node, x), xs)) -> app2(app2(cons, app2(app2(cons, x), nil)), app2(app2(combine, nil), app2(app2(map, levels), xs)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(app2(append, xs), ys)
app2(app2(map, f), nil) -> nil
app2(app2(map, f), app2(app2(cons, x), xs)) -> app2(app2(cons, app2(f, x)), app2(app2(map, f), xs))
app2(app2(append, xs), nil) -> xs
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(zip, nil), yss) -> yss
app2(app2(zip, xss), nil) -> xss
app2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> app2(app2(cons, app2(app2(append, xs), ys)), app2(app2(zip, xss), yss))
app2(app2(combine, xs), nil) -> xs
app2(app2(combine, xs), app2(app2(cons, ys), yss)) -> app2(app2(combine, app2(app2(zip, xs), ys)), yss)
app2(levels, app2(app2(node, x), xs)) -> app2(app2(cons, app2(app2(cons, x), nil)), app2(app2(combine, nil), app2(app2(map, levels), xs)))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(append, app2(app2(cons, x), xs)), ys) -> APP2(app2(append, xs), ys)
POL( append ) = 0
POL( APP2(x1, x2) ) = x1 + 3x2 + 1
POL( app2(x1, x2) ) = x1 + x2 + 3
POL( cons ) = 2
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
app2(app2(map, f), nil) -> nil
app2(app2(map, f), app2(app2(cons, x), xs)) -> app2(app2(cons, app2(f, x)), app2(app2(map, f), xs))
app2(app2(append, xs), nil) -> xs
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(zip, nil), yss) -> yss
app2(app2(zip, xss), nil) -> xss
app2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> app2(app2(cons, app2(app2(append, xs), ys)), app2(app2(zip, xss), yss))
app2(app2(combine, xs), nil) -> xs
app2(app2(combine, xs), app2(app2(cons, ys), yss)) -> app2(app2(combine, app2(app2(zip, xs), ys)), yss)
app2(levels, app2(app2(node, x), xs)) -> app2(app2(cons, app2(app2(cons, x), nil)), app2(app2(combine, nil), app2(app2(map, levels), xs)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
APP2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> APP2(app2(zip, xss), yss)
app2(app2(map, f), nil) -> nil
app2(app2(map, f), app2(app2(cons, x), xs)) -> app2(app2(cons, app2(f, x)), app2(app2(map, f), xs))
app2(app2(append, xs), nil) -> xs
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(zip, nil), yss) -> yss
app2(app2(zip, xss), nil) -> xss
app2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> app2(app2(cons, app2(app2(append, xs), ys)), app2(app2(zip, xss), yss))
app2(app2(combine, xs), nil) -> xs
app2(app2(combine, xs), app2(app2(cons, ys), yss)) -> app2(app2(combine, app2(app2(zip, xs), ys)), yss)
app2(levels, app2(app2(node, x), xs)) -> app2(app2(cons, app2(app2(cons, x), nil)), app2(app2(combine, nil), app2(app2(map, levels), xs)))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> APP2(app2(zip, xss), yss)
POL( APP2(x1, x2) ) = x1 + x2 + 3
POL( zip ) = max{0, -3}
POL( app2(x1, x2) ) = 2x1 + 2x2 + 1
POL( cons ) = max{0, -3}
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
app2(app2(map, f), nil) -> nil
app2(app2(map, f), app2(app2(cons, x), xs)) -> app2(app2(cons, app2(f, x)), app2(app2(map, f), xs))
app2(app2(append, xs), nil) -> xs
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(zip, nil), yss) -> yss
app2(app2(zip, xss), nil) -> xss
app2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> app2(app2(cons, app2(app2(append, xs), ys)), app2(app2(zip, xss), yss))
app2(app2(combine, xs), nil) -> xs
app2(app2(combine, xs), app2(app2(cons, ys), yss)) -> app2(app2(combine, app2(app2(zip, xs), ys)), yss)
app2(levels, app2(app2(node, x), xs)) -> app2(app2(cons, app2(app2(cons, x), nil)), app2(app2(combine, nil), app2(app2(map, levels), xs)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
APP2(app2(combine, xs), app2(app2(cons, ys), yss)) -> APP2(app2(combine, app2(app2(zip, xs), ys)), yss)
app2(app2(map, f), nil) -> nil
app2(app2(map, f), app2(app2(cons, x), xs)) -> app2(app2(cons, app2(f, x)), app2(app2(map, f), xs))
app2(app2(append, xs), nil) -> xs
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(zip, nil), yss) -> yss
app2(app2(zip, xss), nil) -> xss
app2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> app2(app2(cons, app2(app2(append, xs), ys)), app2(app2(zip, xss), yss))
app2(app2(combine, xs), nil) -> xs
app2(app2(combine, xs), app2(app2(cons, ys), yss)) -> app2(app2(combine, app2(app2(zip, xs), ys)), yss)
app2(levels, app2(app2(node, x), xs)) -> app2(app2(cons, app2(app2(cons, x), nil)), app2(app2(combine, nil), app2(app2(map, levels), xs)))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(combine, xs), app2(app2(cons, ys), yss)) -> APP2(app2(combine, app2(app2(zip, xs), ys)), yss)
POL( append ) = max{0, -3}
POL( zip ) = 0
POL( app2(x1, x2) ) = 2x2 + 1
POL( combine ) = 1
POL( APP2(x1, x2) ) = max{0, 2x2 - 1}
POL( nil ) = 1
POL( cons ) = 0
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
app2(app2(map, f), nil) -> nil
app2(app2(map, f), app2(app2(cons, x), xs)) -> app2(app2(cons, app2(f, x)), app2(app2(map, f), xs))
app2(app2(append, xs), nil) -> xs
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(zip, nil), yss) -> yss
app2(app2(zip, xss), nil) -> xss
app2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> app2(app2(cons, app2(app2(append, xs), ys)), app2(app2(zip, xss), yss))
app2(app2(combine, xs), nil) -> xs
app2(app2(combine, xs), app2(app2(cons, ys), yss)) -> app2(app2(combine, app2(app2(zip, xs), ys)), yss)
app2(levels, app2(app2(node, x), xs)) -> app2(app2(cons, app2(app2(cons, x), nil)), app2(app2(combine, nil), app2(app2(map, levels), xs)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
APP2(app2(map, f), app2(app2(cons, x), xs)) -> APP2(f, x)
APP2(levels, app2(app2(node, x), xs)) -> APP2(app2(map, levels), xs)
APP2(app2(map, f), app2(app2(cons, x), xs)) -> APP2(app2(map, f), xs)
app2(app2(map, f), nil) -> nil
app2(app2(map, f), app2(app2(cons, x), xs)) -> app2(app2(cons, app2(f, x)), app2(app2(map, f), xs))
app2(app2(append, xs), nil) -> xs
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(zip, nil), yss) -> yss
app2(app2(zip, xss), nil) -> xss
app2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> app2(app2(cons, app2(app2(append, xs), ys)), app2(app2(zip, xss), yss))
app2(app2(combine, xs), nil) -> xs
app2(app2(combine, xs), app2(app2(cons, ys), yss)) -> app2(app2(combine, app2(app2(zip, xs), ys)), yss)
app2(levels, app2(app2(node, x), xs)) -> app2(app2(cons, app2(app2(cons, x), nil)), app2(app2(combine, nil), app2(app2(map, levels), xs)))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(map, f), app2(app2(cons, x), xs)) -> APP2(f, x)
APP2(levels, app2(app2(node, x), xs)) -> APP2(app2(map, levels), xs)
APP2(app2(map, f), app2(app2(cons, x), xs)) -> APP2(app2(map, f), xs)
POL( levels ) = max{0, -3}
POL( APP2(x1, x2) ) = 2x2 + 1
POL( node ) = 1
POL( map ) = 1
POL( app2(x1, x2) ) = 2x1 + 3x2 + 2
POL( cons ) = 3
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
app2(app2(map, f), nil) -> nil
app2(app2(map, f), app2(app2(cons, x), xs)) -> app2(app2(cons, app2(f, x)), app2(app2(map, f), xs))
app2(app2(append, xs), nil) -> xs
app2(app2(append, nil), ys) -> ys
app2(app2(append, app2(app2(cons, x), xs)), ys) -> app2(app2(cons, x), app2(app2(append, xs), ys))
app2(app2(zip, nil), yss) -> yss
app2(app2(zip, xss), nil) -> xss
app2(app2(zip, app2(app2(cons, xs), xss)), app2(app2(cons, ys), yss)) -> app2(app2(cons, app2(app2(append, xs), ys)), app2(app2(zip, xss), yss))
app2(app2(combine, xs), nil) -> xs
app2(app2(combine, xs), app2(app2(cons, ys), yss)) -> app2(app2(combine, app2(app2(zip, xs), ys)), yss)
app2(levels, app2(app2(node, x), xs)) -> app2(app2(cons, app2(app2(cons, x), nil)), app2(app2(combine, nil), app2(app2(map, levels), xs)))